package it.softphone.commons.service.scripting;

import java.util.logging.Level;

/**
 * 
 * @author bsorrentino
 *
 */
public class Jdk4ConfigurationLoader {
	
	/**
	 * 
	 */
	public Jdk4ConfigurationLoader() {
		
		java.io.InputStream is = getClass().getClassLoader().getResourceAsStream("logging.properties");
		
		if( is!=null ) {
			try {
				java.util.logging.LogManager.getLogManager().readConfiguration(is);
			} catch (Exception e) {
				java.util.logging.Logger
					.getAnonymousLogger()
						.log( Level.WARNING, "read logging configuration error", e );
			}
		}
	}

	
}
